A5.chart.u.calloutadd Method
Syntax
Description
The callout add method is used to add a callout to the chart.
Discussion
This method is used to add a callout label to the chart. The callout will be rendered last, allowing for better layout of the callout labels when grouped.
Properties
- htmlstring
The HTML for the callout label.
- pointarrayobject
The point to draw the callout from. Can either be an array or object. If an array is passed in, then the order of values will be "x", "y", "angle" and "offset".
- xnumber
The "x" position.
- ynumber
The "y" position.
- anglenumberstring
The "angle" the callout should start at. Value can either be a number, or "auto" (the default).
- offsetnumber
The optional "offset" from the point the callout should start at.
- drawSettingsobject
The label draw settings. See A5.chart Definition Label Object.
- dataobject
The chart data. See A5.chart Render Data Object.
- tempobject
The temporary object.
- settingsobject
The top level chart settings.